<script type="text/javascript">
 function addFavorite(url,title){var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("msie 8")>-1){external.AddToFavoritesBar(url,title,'slice')}else{try{window.external.addFavorite(url,title)}catch(e){try{window.sidebar.addPanel(title,url,"")}catch(e){alert("加入收藏失败，请使用Ctrl+D进行添加")}}}}
	function readCookie(name){var cookieValue="";var search=name+"=";if(document.cookie.length>0){offset=document.cookie.indexOf(search);if(offset!=-1){offset+=search.length;end=document.cookie.indexOf("&",offset);if(end==-1)end=document.cookie.length;cookieValue=unescape(document.cookie.substring(offset,end));var cookiearr=cookieValue.split(';');if(cookiearr.length>0){cookieValue=cookiearr[0]}}}return cookieValue}
	function loginstatus() {var s = "";if(readCookie("ydb_member_username")) {s += "欢迎你,<b>"+readCookie("ydb_member_username")+"</b>　<a href=\"/index.php?ac=membermain&at=center\" class=\"ureg\" target=\"_blank\">会员中心</a> - <a href=\"/index.php?ac=ordermain&at=list&al=1\">酒店订单</a> - <a href=\"/index.php?ac=member&at=quit\">退出</a>&nbsp;";} else {s += "<a href=\"<?php echo $this->_tpl_vars['arrlink']['login'] ?>\" target=\"_blank\">登录</a> - <a href=\"<?php echo $this->_tpl_vars['arrlink']['reg'] ?>\" class=\"ureg\" target=\"_blank\" title=\"还没账号？点击这里注册！\">注册</a>&nbsp;";}document.write(s);}
</script>
<div id="headerBar">
	<ul class="maxWidth">
		<li class="floatRight">
       	<script type="text/javascript">loginstatus();</script>
         | &nbsp;<a href="#none" onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $this->_tpl_vars['url'] ?>');">设为首页</a> - <a href="javascript:addFavorite('<?php echo $this->_tpl_vars['url'] ?>','<?php echo $this->_tpl_vars['lngpack']['sitename'] ?>');">加入收藏</a> - <a href="<?php echo $this->_tpl_vars['arrlink']['bzzx'] ?>" target="_blank">帮助中心</a> - <a href="<?php echo $this->_tpl_vars['url'] ?>fav/shortcut.php" target="_blank">添加到桌面</a></li>
		<li class="floatLeft">
			<ul>
				<li class="g">2折起预订全国20000家酒店</li>
				<li class="userlg">&nbsp;</li>
			</ul>
		</li>
	</ul>
</div>
<style type="text/css">#siteinfo li.ads{ height:60px; color:#f00; font-size:24px; line-height:60px; float:right; font-weight:bold;}
#siteinfo li.ads span{ line-height:60px; color:#000; font-size:16px; font-weight:bold; }#siteinfo .logoImg{ margin-top:15px;}
.logoImg a,.logoImg a:hover { display:block; float:left;}  .logoImg h3{ display:block; height:15px; line-height:20px; padding-top:25px; padding-left:10px; font-weight:bold; float:left;}
</style>
<?php if($this->_tpl_vars['jinggao']['hotel_aid']=="78663" && $this->_tpl_vars['jinggao']['hotel_key']=="0925ed633d24577eb3ffe13f00c55a4f9739f51a77eefb1dba29bb9568acddfd" && $this->_tpl_vars['jinggao']['sms_key']=="f9308fe421092586ff7897bc26d9b88178e5607195c9a8df6c2a226c6589fa1b"){ ?>
<style type="text/css">
#jinggao a,#da3510 a:hover{ color:#da3510; font-size:14px;}
</style>
<div id="jinggao" style="width:660px; height:100px; color:#000; text-align:left; padding:10px 15px; line-height:30px; background-color: #FFC; border:4px solid #E00; position:absolute;">
<span style="font-size:14px; font-weight:bold;">警告：你目前使用的密钥是安装测试密钥，正式使用请申请新密钥（<a href="http://www.yudingbao.net/my/register.html" target="_blank">请点击此处免费申请新密钥</a>）</span><br />
使用测试密钥将无法为你计算订单分成，造成的损失我们概不负责！<br />
更换密钥的方法请参考：<a href="http://help.yudingbao.net" target="_blank">http://help.yudingbao.net</a>　　　　　　　　　　　　　　　　　　　　　　　　　<a href="javascript:close_jingggao();">关闭</a></div>
<script type="text/javascript">
function close_jingggao() { $("#jinggao").hide(); }
$(document).ready(function(){
var w = ($(window).width()-$("#jinggao").width())/2;
$("#jinggao").css({ left:w, top:35});
});
</script>
<?php } ?>
<div id="header" class="maxWidth">
	<ul id="siteinfo">
		<li class="logoImg"><a href="<?php echo $this->_tpl_vars['url'] ?>"><img src="<?php echo $this->getsubstr($this->_tpl_vars['url'],'') ?><?php echo $this->_tpl_vars['weblogo'] ?>" /></a><h3><?php echo $this->_tpl_vars['selfname'] ?></h3></li>
		<li class="ads"><?php if($this->_tpl_vars['ordertel'] !=''){ ?><span>24小时预订电话：</span><?php echo $this->_tpl_vars['ordertel'] ?><?php } ?></li>
	</ul>
	<div class="clearLine10"></div>
	<ul id="manMenu">
		<li class="menul"></li>
		<li class="menulist">
			<ul>
				<li id="index" class="gap"><a href="<?php echo $this->_tpl_vars['url'] ?>" onfocus="this.blur();">首页</a></li>
				<!--<li id="hotel"><a href="/" onfocus="this.blur();">酒店预订</a></li>-->
				<li id="brand"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['chain'],'') ?>" onfocus="this.blur();">品牌连锁</a></li>
				<li id="news"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['zixun']['link'],'') ?>" onfocus="this.blur();"><?php echo $this->_tpl_vars['arrlink']['zixun']['title'] ?></a></li>
				<li id="comments"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['comment'],'') ?>" onfocus="this.blur();">酒店点评</a></li>
				<li id="insider"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['forum'],'') ?>" onfocus="this.blur();">有问必答</a></li>
				<li id="promotions"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['cuxiao']['link'],'') ?>" onfocus="this.blur();"><?php echo $this->_tpl_vars['arrlink']['cuxiao']['title'] ?></a></li>
				<li id="exhibition"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['huizhan']['link'],'') ?>" onfocus="this.blur();"><?php echo $this->_tpl_vars['arrlink']['huizhan']['title'] ?></a></li>
				<li id="maps"><a href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['map'],'') ?>" onfocus="this.blur();">电子地图</a></li>
				<li id="tools"><a  onfocus="this.blur();" href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['tool']['link'],'') ?>"><?php echo $this->_tpl_vars['arrlink']['tool']['title'] ?></a></li>
				<li id="weburl" class="gap"><a onfocus="this.blur();" href="<?php echo $this->fliterurl($this->_tpl_vars['arrlink']['weburl']['link'],'') ?>"><?php echo $this->_tpl_vars['arrlink']['weburl']['title'] ?></a></li>
				<li class="date gap">
					<h3><?php echo $this->_tpl_vars['mydate'] ?></h3>
				</li>
			</ul>
			<script type="text/javascript">$("#" + active_menu + " > a").attr("class","active");</script> 
		</li>
		<li class="menur"></li>
	</ul>
</div>
